package com.mark.search;

import com.mark.search.config.EsConfig;
import com.mark.search.config.RestHighLevelClientConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@Import({RestHighLevelClientConfig.class})
@EnableConfigurationProperties(value={EsConfig.class})
public class ElasticsearchExampleApplication {

    public static void main(String[] args) {
        SpringApplication.run(ElasticsearchExampleApplication.class, args);
    }

}
